﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CardLogistics.Model.CardArrival
{
    /// <summary>
    /// 订到货管理台帐_实体类
    /// </summary>
    [Serializable]
    public partial class OrderArrivalBook
    {
        public OrderArrivalBook()
        { }
        #region Model
        private string _id = "sysdate";
        private string _orderid;
        private string _checkid;
        private DateTime? _orderdate;
        private DateTime? _storagedate;
        private decimal? _ordernumber;
        private decimal? _unitprice;
        private decimal? _totalprice;
        private decimal? _checknumber;
        private string _missingcardno;
        private string _remark;
        private string _lastupdateuser;
        private DateTime? _lastupdatedate;

        #region 便于查询字段
        private string _OrderNo; //订单编号
        private string _CheckNo;//入库单号
        #endregion 


        /// <summary>
        /// 主键ID
        /// </summary>
        public string ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 订单ID
        /// </summary>
        public string ORDERID
        {
            set { _orderid = value; }
            get { return _orderid; }
        }
        /// <summary>
        /// 入库ID
        /// </summary>
        public string CHECKID
        {
            set { _checkid = value; }
            get { return _checkid; }
        }
        /// <summary>
        /// 订单日期
        /// </summary>
        public DateTime? ORDERDATE
        {
            set { _orderdate = value; }
            get { return _orderdate; }
        }
        /// <summary>
        /// 入库日期
        /// </summary>
        public DateTime? STORAGEDATE
        {
            set { _storagedate = value; }
            get { return _storagedate; }
        }
        /// <summary>
        /// 订单数量
        /// </summary>
        public decimal? ORDERNUMBER
        {
            set { _ordernumber = value; }
            get { return _ordernumber; }
        }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal? UNITPRICE
        {
            set { _unitprice = value; }
            get { return _unitprice; }
        }
        /// <summary>
        /// 总价
        /// </summary>
        public decimal? TOTALPRICE
        {
            set { _totalprice = value; }
            get { return _totalprice; }
        }
        /// <summary>
        /// 入库数量
        /// </summary>
        public decimal? CHECKNUMBER
        {
            set { _checknumber = value; }
            get { return _checknumber; }
        }
        /// <summary>
        /// 缺号
        /// </summary>
        public string MISSINGCARDNO
        {
            set { _missingcardno = value; }
            get { return _missingcardno; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string REMARK
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 最后修改人
        /// </summary>
        public string LASTUPDATEUSER
        {
            set { _lastupdateuser = value; }
            get { return _lastupdateuser; }
        }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? LASTUPDATEDATE
        {
            set { _lastupdatedate = value; }
            get { return _lastupdatedate; }
        }
        #region 便于查询字段
        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderNo
        {
            get { return _OrderNo; }
            set { _OrderNo = value; }
        }

        /// <summary>
        /// 入库单号
        /// </summary>
        public string CheckNo
        {
            get { return _CheckNo; }
            set { _CheckNo = value; }
        }
        #endregion 

        #endregion Model
    }
}
